<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
			try{
				if(null==request.getSession().getAttribute("userInfo")){
				    out.print("<script>window.location.href='../web/login/login.jsp'</script>");
				}
			}catch(Exception e)
			{
			    out.print("<script>window.location.href='../web/login/login.jsp'</script>");
			}
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>


		<title>导医信息</title>

		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />
		<script type="text/javascript" src="<%=basePath%>scripts/cookie.js"></script>
		<script type="text/javascript" src="<%=basePath%>scripts/jquery-1.4.2.js"></script>
		<script type="text/javascript" src="<%=basePath%>scripts/apputil.js"></script>
		<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #FDFDFD;
}

img {
	border: 0
}

p {
	margin: 0px;
	padding: 0px;
}

form,input,td,th {
	border: medium none;
	margin: 0;
	padding: 0;
}

ul,li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

input {
	border: 0;
	padding: 0
}

.logset {
	background-image:
		url(<%=basePath%>web/resources/images/index-search_02.jpg);
	background-repeat: repeat-x;
	height: 32px;
	width: auto;
	line-height: 32px;
}

.logset a {
	font-size: 13px;
	color: #3399cc;
	display: inline-block;
	float: right;
	margin-right: 30px;
}

.content {
	background-image:
		url(<%=basePath%>web/resources/images/findCipher_04.png);
	height: 111px;
	background-color: #F9F9F9;
	padding-top: 0px;
	background-repeat: repeat-x;
	padding-left: 30px;
}

.content #search {
	width: 784px;
	height: 41px;
	overflow: hidden;
}

.s_t_wr {
	width: 634px;
	height: 41px;
	margin-right: 8px;
	background-image:
		url(<%=basePath%>web/resources/images/search-list_06.gif);
	background-repeat: no-repeat;
	float: left;
	padding: 0px;
	background-position: left top;
}

.s_t {
	width: 595px;
	height: 35px;
	outline: none;
	-webkit-appearance: none;
	font-family: "宋体";
	font-size: 14px;
	line-height: 35px;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 34px;
	background-image:
		url(<%=basePath%>web/resources/images/search-list_06-bg.gif);
	color: #999;
	background-repeat: repeat-x;
	background-position: left 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
}

.s_btn_wr {
	width: 142px;
	height: 41px; *
	position: relative;
	z-index: 0;
	background-image:
		url(<%=basePath%>web/resources/images/search-list_08.gif);
	background-repeat: no-repeat;
	float: left;
}

.s_btn {
	width: 142px;
	height: 41px;
	font-size: 0px;
	cursor: pointer;
	background-color: #ddd;
	background-image:
		url(<%=basePath%>web/resources/images/search-list_08.gif);
	text-decoration: none;
	color: #E4E4E4;
}

.content .but123 {
	float: right;
	display: block;
	height: 41px;
	width: 441px;
	margin-top: 68px;
}

.content .but123 a {
	float: left;
	font-size: 14px;
	color: #3399cc;
	font-weight: bold;
	font-family: "宋体";
	line-height: 41px;
	height: 41px;
	display: inline-block;
	width: 100px;
	text-align: left;
	padding-left: 47px;
	text-decoration: none;
}

.content .but123 .but1 {
	background-image:
		url(<%=basePath%>web/resources/images/search-list_10.gif);
	background-repeat: no-repeat;
	background-position: left top;
}

.content .but123 .but2 {
	background-image:
		url(<%=basePath%>web/resources/images/search-list_12.gif);
	background-repeat: no-repeat;
	background-position: left top;
}

.content .but123 .but3 {
	background-image:
		url(<%=basePath%>web/resources/images/search-list_14.gif);
	background-repeat: no-repeat;
	background-position: left top;
}

.foot {
	background-image:
		url(<%=basePath%>web/resources/images/index-search_25.jpg);
	background-repeat: repeat-x;
	background-position: center top;
	height: 150px;
	background-color: #F9F9F9;
	text-align: center;
	padding-top: 39px;
	line-height: 24px;
	font-size: 13px;
	color: #999;
}

.foot p a {
	color: #999;
}

a:link,a:visited {
	color: #3399CC;
	text-decoration: none;
}

a:hover {
	color: #FF760D;
	text-decoration: underline;
}

.cont .title{font-weight: bold;border-bottom: 2px solid #0D5B9D;padding-bottom: 5px;font-size: 18px;letter-spacing: 1px;padding-left: 15px;padding-top: 10px;}
.cont td input{border-bottom: 1px solid #999999;width: 100%;}
.cont .bt{padding-left: 5px;}
.bgblue input{background: #F0F9FE}
-->
</style>
		<script type="text/javascript"
			src="<%=basePath%>resources/plugin/My97DatePicker/WdatePicker.js"></script>
		<script>
<!--
function settab_zzjsnet(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var zzjs=document.getElementById("zzjs_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  zzjs.style.display=i==cursel?"block":"none";
 }
}

function onlyNum()
{
    if (!((event.keyCode >= 48 && event.keyCode <= 57) || (event.keyCode >= 96 && event.keyCode <= 105)))
    //考虑小键盘上的数字键
        if (event.keyCode != 8)event.returnValue = false;
    //  return false;
}
  function validTextareaLength(){
  	var textareaTag = document.getElementsByTagName("textarea");
  	for(var i=0;i<textareaTag.length;i++){
  		if(textareaTag[i].style.border=='red double'){
			alert('页面中红色区域输入内容过长，请修改！');
			textareaTag[i].focus();
			return false;
  		}
  	}
  	return true;
  }
  function deleFile(){
  	if($("#fileInput").val()!=''){
  		$("#fileInput").hide();
  	}
  }
  function deleFile(){
	  if($("#id").val()!=''){
	  	$("#filename11").hide();
	  }
	  	if($("#fileInput").val()!=''){
	  		$("#fileInput").hide();
	  	}
	  		$("#deleButt").hide();
	  		$("#recoverButt").show();
	  		$("#if_has_File").val('0');
  }
  function recoverFile(){
  	if($("#id").val()!=''){
	  	$("#filename11").show();
	  }
	  	$("#fileInput").show();
	  	$("#deleButt").show();
	 	$("#recoverButt").hide();
	 	$("#if_has_File").val('1');
  }
  function setHiddenInputValue(){
  	$("#if_has_File").val('1');
  	$("#deleButt").show();
  }
  function  modifyPic(id){
  		deleFile();
       $("#modifyPic").html('<input id="fileInput1" type="file" name="imgFile" id="img"/>&nbsp;&nbsp;&nbsp;<input type="button" value="取消" onclick="movePic()"/>');
       $('#'+id).hide();
   }
   function  movePic(){
   		recoverFile();
      var picbtn=document.getElementById("picbtn");
      $("#modifyPic").html('');
      picbtn.style.display='inline';
   }
 
  function zhuxiao(){
	deleteCookie("userName","/");
	deleteCookie("password","/");
	deleteCookie("chkRememberMe","/");
    window.location.href="<%=basePath%>user/qiantanExit.action";
}
</script>
		<link href="<%=basePath%>resources/css/bingli1.css" rel="stylesheet"
			type="text/css" />
		<script type="text/javascript"
			src="<%=basePath%>scripts/jquery-1.4.2.js"></script>
		<script type="text/javascript" src="<%=basePath%>web/case/addCase.js"></script>
	</head>

	<body>
		<jsp:include page="../top.jsp"></jsp:include>

			<div class="hy-wr" align="center">

				<div id="lib_zzjs_1">
					<img src="<%=basePath%>web/resources/images/huiyuan_03.jpg"
						width="5" height="44" style="float: left" />
					<div class="lib_menu_zzjsnet ">
						<ul>
							<li id="zzjs_11" onclick="settab_zzjsnet('zzjs_1',1,6)">
								<a href="<%=basePath%>user/memberInfo.action">会员信息管理</a>
							</li>
							<li id="zzjs_12" onclick="settab_zzjsnet('zzjs_1',2,6)">
								<a href="<%=basePath%>question/findInfoList.action">发布求诊信息</a>
							</li>
							<li id="zzjs_13" onclick="settab_zzjsnet('zzjs_1',3,6)" >
								<a href="<%=basePath%>tiCase/searchMemberCase.action">我的病历
								</a>
							</li>
							<li id="zzjs_14" onclick="settab_zzjsnet('zzjs_1',4,6)" class="hover">
								<a href="<%=basePath%>stage/dyHelp.action"><font
									color="#000">导医信息</font></a>
							</li>
							<li id="zzjs_15" onclick="settab_zzjsnet('zzjs_1',5,6)">
								<a href="<%=basePath%>web/mem/passwordModify.jsp">修改密码</a>
							</li>
							<li id="zzjs_16" onclick="settab_zzjsnet('zzjs_1',6,6)">
								<a href="javascript:zhuxiao();">安全注销</a>
							</li>
						</ul>
					</div>
					<img src="<%=basePath%>web/resources/images/huiyuan_08.jpg"
						width="5" height="44" style="float: left" />
				</div>

				<div class="lib_Contentbox_zzjs">
					<div id="zzjs_zzjs_1_1" style="display: none"></div>
					<div id="zzjs_zzjs_1_2">
						<div class="qiehuan">
							<ul>
								<li>
									<a href="<%=basePath%>stage/dyHelp.action">导医帮助</a>
								</li>
								<li>
									<a href="<%=basePath%>dy/toInfo.action">导医信息</a>
									<input type="hidden" name="family.id" value="${family.id }"/>
									<input type="hidden" name="family.userId" value="${family.userId }"/>
									<input type="hidden" name="family.createTime" value="${family.createTimeString }"/>
									<input type="hidden" name="family.isDual" value="${family.isDual }"/>
									<input type="hidden" name="family.authorName" value="${family.authorName }"/>
								</li>
							</ul>
						</div>
						<div class="cont" align="center" style="text-align: left;padding-left: 16px;">
						<table width="96%" cellpadding="0" cellspacing="0">
							<tr><td align="left" class="title" colspan="4">个人情况</td></tr>
							<tr class="item bgblue"><td align="left" colspan="4" class="bt">家庭住址（请写明具体市名、路名、门牌号、单元号）：</td></tr>
							<tr class="item"><td align="left" colspan="4" class="bt" valign="middle"><input type="text" name="family.address" id="address" value="${family.address}"/></td></tr>
							<tr class="item bgblue"><td align="left" width="12%" class="bt" >婚姻状况：</td><td width="38%" align="left"><select id="marriage" name="family.marriage"></select></td><td align="left" class="bt" width="15%">学历：</td><td align="left"><select id="education" name="family.education"></select></td></tr>
							<tr class="item"><td align="left" class="bt">工作单位：</td><td align="left" colspan="3" valign="bottom"><input type="text" id="workUint" name="family.workUint" value="${family.workUint}"/></td></tr>
							<tr class="item bgblue"><td align="left" width="12%" class="bt" >职务：</td><td valign="bottom"><input type="text" id="post" name="family.post" value="${family.post}"/></td><td align="left" class="bt">年收入额(元)：</td><td align="left" valign="bottom"><select id="selfIncome" name="family.selfIncome"></select></td></tr>
						</table>
						<table width="96%" cellpadding="0" cellspacing="0">
							<tr><td align="left" class="title" colspan="6">配偶情况（已故，单身不填）</td></tr>
							<tr class="item bgblue"><td align="left" width="12%" class="bt" >配偶姓名：</td><td width="18%" valign="bottom"><input name="family.spouse" id="spouse" value="${family.spouse }"/></td><td align="left" class="bt" width="15%">出生日期：</td><td align="left" width="15%" valign="bottom"><input name="family.spouseBirthday" id="spouseBirthday" value="${family.spouseBirthdayString}" type="text"/></td><td width="15%">学历：</td><td valign="bottom" align="left"><select id="spouseEducation" name="family.spouseEducation" ></select></td></tr>
							<tr class="item"><td align="left" class="bt">工作单位：</td><td align="left" colspan="5" valign="bottom"><input type="text" id="spouseUnit" name="family.spouseUnit" value="${family.spouseUnit }"/></td></tr>
							<tr class="item bgblue"><td align="left" width="12%" class="bt" >职务：</td><td valign="bottom"><input type="text" id="spousePost" name="family.spousePost" value="${family.spousePost }"/></td><td align="left" class="bt">年收入额(元)：</td><td align="left" valign="bottom" colspan="3"><select id="spouseIncome" name="family.spouseIncome"></select></td></tr>
						</table>
						<table width="96%" cellpadding="0" cellspacing="0">
							<tr><td align="left" class="title" colspan="4">财产情况</td></tr>
							<tr class="item bgblue"><td align="left" width="28%" class="bt" >家庭年均收入：</td><td valign="bottom"><select id="fincome" name="family.fincome"></select></td></tr>
							<tr class="item"><td align="left" class="bt">存折（包括活期死期总额）：</td><td align="left" valign="bottom"><input type="text" id="cz" name="family.cz" value="${family.cz }"/></td></tr>
							<tr class="item bgblue"><td align="left"  class="bt" >房产（写明房产几套，地理位置，面积，均价）：</td><td valign="bottom"><input id="fc" name="family.fc" value="${family.fc}"/></td></tr>
							<tr class="item"><td align="left" class="bt">车产（写明车几辆，品牌，购买价）：</td><td align="left" valign="bottom"><input type="text" id="cc" name="family.cc" value="${family.cc}"/></td></tr>
							<tr class="item bgblue"><td align="left" class="bt">金融产品（包括股票、债券等，金额分别多少）：</td><td align="left" valign="bottom"><input type="text" id="jrcp" name="family.jrcp" value="${family.jrcp}"/></td></tr>
						</table>
						<table width="96%" cellpadding="0" cellspacing="0">
							<tr><td align="left" class="title" colspan="6">父母情况（已故不填）</td></tr>
							<tr class="item bgblue"><td align="left" width="12%" class="bt" >父亲姓名：</td><td width="18%" valign="bottom"><input id="father" name="family.father" value="${family.father }"/></td><td align="left" class="bt" width="12%">出生日期：</td><td align="left" valign="bottom" colspan="3"><input type="text" id="fatherBirthday" name="family.fatherBirthday" value="${family.fatherBirthdayString }" style="width: 113px;"/></td></tr>
							<tr class="item"><td align="left" width="12%" class="bt" >工作单位：</td><td valign="bottom" ><input id="fatherUnit" name="family.fatherUnit" value="${family.fatherUnit }"/></td><td align="left" class="bt" >职务：</td><td align="left" width="15%" valign="bottom"><input type="text" id="fatherPost" name="family.fatherPost" value="${family.fatherPost }"/></td><td width="15%">年收入额：</td><td valign="bottom"><select id="fatherIncome" name="family.fatherIncome"></select></td></tr>
							<tr class="item bgblue"><td align="left" width="12%" class="bt" >母亲姓名：</td><td width="18%" valign="bottom"><input id="mother" name="family.mother" value="${family.mother }"/></td><td align="left" class="bt" width="12%">出生日期：</td><td align="left" valign="bottom" colspan="3"><input type="text" style="width: 113px;" id="motherBirthday" name="family.motherBirthday" value="${family.motherBirthdayString }"/></td></tr>
							<tr class="item"><td align="left" width="12%" class="bt" >工作单位：</td><td valign="bottom"><input id="montherUnit" value="${family.montherUnit }" name="family.montherUnit"/></td><td align="left" class="bt" >职务：</td><td align="left" width="15%" valign="bottom"><input id="montherPost" name="family.montherPost" value="${family.montherPost }" type="text"/></td><td width="15%">年收入额：</td><td valign="bottom"><select id="montherIncome" name="family.montherIncome"></select></td></tr>
							<tr class="item bgblue"><td align="left" class="bt"  colspan="2">父母财产总额估计：</td><td valign="bottom" colspan="4"><select id="totalIncome" name="family.totalIncome"></select></td></tr>
						</table>
						<table width="96%" cellpadding="0" cellspacing="0">
							<tr><td align="left" class="title" colspan="6">子女情况（学生不填，无子女不填，有子女最好填一个）</td></tr>
							<tr class="item bgblue"><td align="left" width="12%" class="bt" >姓名：</td><td width="18%" valign="bottom"><input id="child" name="family.child" value="${family.child }"/></td><td align="left" class="bt" width="12%">性别：</td><td align="left" valign="bottom" width="15%"><select id="childSex" name="family.childSex"></select></td><td width="15%" align="left">年龄：</td><td valign="bottom"><input type="text" id="childAge" name="family.childAge" value="${family.childAge }"/></td></tr>
							<tr class="item"><td align="left" width="12%" class="bt" >工作单位：</td><td valign="bottom" colspan="5"><input id="childUnit" name="family.childUnit" value="${family.childUnit }"/></td></tr>
							<tr class="item bgblue"><td align="left" class="bt" >婚姻状况：</td><td width="18%" valign="bottom"><select id="childMarriage" name="family.childMarriage"></select></td><td align="left" class="bt" width="12%">职务：</td><td align="left" valign="bottom" ><input type="text" id="childPost" name="family.childPost" value="${family.childPost}"/></td><td>家庭年收入额：</td><td valign="bottom"><select id="childIncome" name="family.childIncome"></select></td></tr>
							<tr class="item bgblue"><td align="left" width="12%" class="bt" >姓名：</td><td width="18%" valign="bottom"><input id="child2" name="family.child2" value="${family.child2 }"/></td><td align="left" class="bt" width="12%">性别：</td><td align="left" valign="bottom"><select id="childSex2" name="family.childSex2"></select></td><td width="15%" align="left">年龄：</td><td valign="bottom"><input type="text" id="childAge2" name="family.childAge2" value="${family.childAge2 }"/></td></tr>
							<tr class="item"><td align="left" width="12%" class="bt" >工作单位：</td><td valign="bottom" colspan="5"><input id="childUnit2" name="family.childUnit2" value="${family.childUnit2 }"/></td></tr>
							<tr class="item bgblue"><td align="left" class="bt" >婚姻状况：</td><td width="18%" valign="bottom"><select id="childMarriage2" name="family.childMarriage2"></select></td><td align="left" class="bt" width="12%">职务：</td><td align="left" valign="bottom"><input type="text" id="childPost2" name="family.childPost2" value="${family.childPost2}"/></td><td>家庭年收入额：</td><td valign="bottom"><select id="childIncome2" name="family.childIncome2"></select></td></tr>
						</table>
						<table width="96%" cellpadding="0" cellspacing="0">
							<tr><td align="center" style="height: 30px;padding-top: 20px;"><input onclick="toEditor()" class="inputbtn1" style="width: 60px;height: 22px;cursor: pointer;border: 0px;" value="编辑" type="button"/></td></tr>
						</table>
						</div>
					</div>

				</div>
			<div id="zzjs_zzjs_1_3"></div>
			<div id="zzjs_zzjs_1_4"></div>
			<div id="zzjs_zzjs_1_5"></div>
			<div id="zzjs_zzjs_1_6"></div>
			<div class="lib-contentbox-zzjsbot"></div>
			</div>
			<div class="sear3but">
				<span><strong>快捷导航：</strong>
				</span><a href="<%=basePath%>stage/showHosAll.action">医院检索大全</a>
				<a href="<%=basePath%>stage/toCase.action">病历填写帮助</a>
				<a href="<%=basePath%>stage/toDy.action">导医服务</a>
			</div>

			<div class="foot">
				<p>
					<a
						onclick="this.style.behavior='url(#default#homepage)';this.setHomePage(window.location.href);"
						href="javascript:;">把网站设为主页</a> &nbsp;&nbsp;&nbsp;
					<a
						href="javascript:window.external.addFavorite(window.location.href,'医生在线');">把网站添加到收藏夹</a>
				</p>
				<p>
					<a href="<%=basePath%>aboutus/show.action?id=1">关于我们</a> |
					<a href="<%=basePath%>aboutus/show.action?id=1">About US</a>
				</p>
				<p>
					<a href="#">&copy;2012 备案号：京ICP证xxxxxxx号</a>
				</p>
			</div>
	</body>
	<script>
	
	var selfIncomeValue = '${family.selfIncome}';
	if(""!=selfIncomeValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=income',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('selfIncome',disJson,selfIncomeValue,function(){});
		})
	else
		$("#selfIncome").hide();
	
	var spouseIncomeValue = '${family.spouseIncome }';
	if(""!=spouseIncomeValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=income',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('spouseIncome',disJson,spouseIncomeValue,function(){});
		})
	else
		$("#spouseIncome").hide();	
	
	var fincomeValue = '${family.fincome }';
	if(""!=fincomeValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=income',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('fincome',disJson,fincomeValue,function(){});
		})
	else
		$("#fincome").hide();
		
	var fatherIncomeValue = '${family.fatherIncome}';
	if(""!=fatherIncomeValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=income',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('fatherIncome',disJson,fatherIncomeValue,function(){});
		})
	else
		$("#fatherIncome").hide();
		
	var montherIncomeValue = '${family.montherIncome}';
	if(""!=montherIncomeValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=income',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('montherIncome',disJson,montherIncomeValue,function(){});
		})
	else
		$("#montherIncome").hide();
		
	var childIncomeValue = '${family.childIncome}';
	if(""!=childIncomeValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=income',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('childIncome',disJson,childIncomeValue,function(){});
		})
	else
		$("#childIncome").hide();
	var childIncome2Value = '${family.childIncome2}';
	if(""!=childIncome2Value)
		$.get('../dataPlugin/buildJsonData.action?tablename=income',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('childIncome2',disJson,childIncome2Value,function(){});
		})
	else
		$("#childIncome2").hide();
	var totalIncomeValue = '${family.totalIncome }';
	if(""!=totalIncomeValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=income',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('totalIncome',disJson,totalIncomeValue,function(){});
		})
	else
		$("#totalIncome").hide();
	
	
	var marriageValue = '${family.marriage}';
	if(""!=marriageValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=marriage',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('marriage',disJson,marriageValue,function(){});
		})
	else
		$("#marriage").hide();
	
	var educationValue = '${family.education}';
	if(""!=educationValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=education',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('education',disJson,educationValue,function(){});
		})
	else
		$("#education").hide();
	
	var spouseEducationValue = '${family.spouseEducation}';
	if(""!=spouseEducationValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=education',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('spouseEducation',disJson,spouseEducationValue,function(){});
		})
	else
		$("#spouseEducation").hide();
		
	var childSexValue = '${family.childSex}';
	if(""!=childSexValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=sex',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('childSex',disJson,childSexValue,function(){});
		})
	else
		$("#childSex").hide();
		
	var childMarriageValue = '${family.childMarriage}';
	if(""!=childMarriageValue)
		$.get('../dataPlugin/buildJsonData.action?tablename=marriage',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('childMarriage',disJson,childMarriageValue,function(){});
		})
	else
		$("#childMarriage").hide();
		
	var childSexValue2 = '${family.childSex2}';
	if(""!=childSexValue2)
		$.get('../dataPlugin/buildJsonData.action?tablename=sex',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('childSex2',disJson,childSexValue2,function(){});
		})
	else
		$("#childSex2").hide();
		
	var childMarriageValue2 = '${family.childMarriage2}';
	if(""!=childMarriageValue2)
		$.get('../dataPlugin/buildJsonData.action?tablename=marriage',function(mes){
			var mesJson = eval('('+mes+')');
			var disJson = mesJson[0]['result'];
			initSelect('childMarriage2',disJson,childMarriageValue2,function(){});
		})
	else
		$("#childMarriage2").hide();

	$("input").css("border","0px").attr("readOnly",true);
	$("select").attr("disabled",true);
	function toEditor(){
		window.location.href='toInfo.action?type=2';
	}
	
	document.getElementById("zzjs_14").style.backgroundImage = "url('../web/resources/images/huiyuan_06.jpg')";  
	</script>
</html>
